package com.wangyk.thymeleafproject.controller;

import org.springframework.stereotype.Controller;
import org.springframework.util.CollectionUtils;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 权限相关接口
 */
@Controller
@RequestMapping("/auth")
public class AuthController
{
    /**
     * 只能买家访问
     */
    @ResponseBody
    @RequestMapping("/create.do")
    public void create()
    {
    }

    /**
     * 只能卖家访问
     */
    @ResponseBody
    @RequestMapping("/finish.do")
    public void finish()
    {
    }

    /**
     * 卖家和买家都可以访问
     * */
    @ResponseBody
    @RequestMapping("/list.do")
    public void list()
    {
        
    }
}
